package com.sywb.chuangyebao.contract;

import android.Manifest;

import org.bining.footstone.mvp.IView;
import org.bining.footstone.presenter.PermissionsPresenter;

/**
 * 视频发布
 * Created by duxl on 2018/5/17.
 */

public interface PublishVideoContract {

    interface View extends IView {

    }

    class Presenter extends PermissionsPresenter<View> {
        @Override
        public void onStart() {
            questPermissions(new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE, Manifest.permission.CAMERA, Manifest.permission.RECORD_AUDIO});
        }

        @Override
        public void onPermissionsSuccess(String[] strings) {

        }

        @Override
        public void onPermissionsFailure(String strMsg) {
            super.onPermissionsFailure(strMsg);
            showMessage("onPermissionsFailure:"+strMsg);
        }
    }
}
